package com.back.campus_back.service;

import com.back.campus_back.domain.ReportGoods;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-04-17
 */
public interface ReportGoodsService extends IService<ReportGoods> {

    //查询评论
    public List getReport(@Param(value = "goods_id") Integer goods_id);

    //增加评论
    public String addReport(ReportGoods reportGoods);

    //查看所有评论
    public List findAllReport();



}
